/* -------------------- */
/* VIDEO SHOWCASE */
/* -------------------- */

.video-showcase-section {
  background: #f4f6ff;
  overflow: hidden;
}

.video-showcase-head {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.video-showcase-head span {
  display: inline-block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.video-showcase-head h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 1.08;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.video-showcase-head p {
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  line-height: 1.6;
  color: #4f5f7a;
}

.video-showcase-box {
  position: relative;
  max-width: 1050px;
  margin-inline: auto;
  border-radius: clamp(1rem, 2.5vw, 1.5rem);
  overflow: hidden;
  background: #111827;
  box-shadow: 0 28px 80px rgba(0, 95, 168, 0.18);
}

.video-showcase-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  z-index: -1;
}

.showcase-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

/* -------------------- */
/* RESPONSIVE */
/* -------------------- */

@media (max-width: 520px) {
  .video-showcase-box {
    border-radius: 22px;
  }

  .showcase-video {
    aspect-ratio: 9 / 16;
  }
}

/* -------------------- */
/* JOURNEY SECTION */
/* -------------------- */

.journey-section {
  background: #f4f6ff;
  overflow: hidden;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

/* LEFT */

/* .journey-left h2 {
  max-width: 520px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: #111111;
  margin-bottom: clamp(2rem, 4vw, 3rem);
} */

.sub-span {
  /* display: inline-block; */
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.journey-left h2 {
  font-size: 42px;
  line-height: 1;
  /* color: var(--color-primary); */
  margin-bottom: 0.8rem;
}

.para {
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  line-height: 1.6;
  color: #4f5f7a;
  margin-bottom: 1.5rem;
}

.journey-steps {
  position: relative;
  display: grid;
  gap: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 680px;
}

/* vertical line */
.journey-steps::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: #d9e2f5;
}

.journey-step {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8e9f8;
  color: #5b7de3;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 18px rgba(0, 95, 168, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 700;
  transition: 0.3s ease;
}

.step-content strong {
  display: block;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 500;
  color: #111111;
  margin-bottom: 0.35rem;
  transition: 0.3s ease;
}

.step-content small {
  display: block;
  max-width: 520px;
  font-size: clamp(0.85rem, 1vw, 0.98rem);
  line-height: 1.55;
  color: #627089;
  transition: 0.3s ease;
}

/* active state */
.journey-step.active .step-number {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.journey-step.active .step-content strong {
  color: var(--color-primary);
}

.journey-step:hover .step-number {
  transform: scale(1.08);
}

/* RIGHT PHONE */

.journey-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  width: clamp(250px, 24vw, 370px);
  aspect-ratio: 9 / 18.5;
  background: #111827;
  border-radius: clamp(2rem, 3vw, 3rem);
  padding: clamp(0.7rem, 1vw, 0.9rem);
  box-shadow: 0 28px 60px rgba(0, 95, 168, 0.2);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: clamp(1.5rem, 2.3vw, 2.3rem);
  overflow: hidden;
}

/* changing logo top-left */
.phone-logo-wrap {
  position: absolute;
  top: clamp(1rem, 1.4vw, 1.4rem);
  right: clamp(1rem, 1.4vw, 1.4rem);
  z-index: 5;
  width: clamp(38px, 4vw, 54px);
  height: clamp(38px, 4vw, 54px);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 95, 168, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-step-logo {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.journey-phone-img {
  width: 100%;
  /* height: 50%; */
  object-fit: contain;
  animation: phoneFade 0.35s ease both;
}

@keyframes phoneFade {
  from {
    opacity: 0;
    transform: scale(1.03);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* -------------------- */
/* RESPONSIVE */
/* -------------------- */

@media (max-width: 900px) {
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .journey-left h2 {
    max-width: 100%;
    margin-bottom: 0.8rem;
  }

  .journey-right {
    order: 2;
  }

  .journey-left {
    order: 1;
  }

  .phone-frame {
    width: clamp(220px, 68vw, 320px);
  }
}

@media (max-width: 520px) {
  .journey-left h2 {
    font-size: 30px;
  }

  .journey-steps {
    gap: 2rem;
  }

  .journey-steps::before {
    left: 19px;
  }

  .journey-step {
    grid-template-columns: 40px 1fr;
    gap: 0.8rem;
  }

  .step-number {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }

  .step-content strong {
    font-size: 1rem;
  }

  .step-content small {
    font-size: 0.85rem;
  }

  .phone-frame {
    width: min(78vw, 280px);
  }
}

/* -------------------- */
/* FAQ SECTION */
/* -------------------- */

.faq-section {
  background: #f4f6ff;
}

.faq-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.faq-heading span {
  display: inline-block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.faq-heading h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.08;
  color: #111827;
  margin-bottom: 1rem;
}

.faq-heading p {
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  line-height: 1.6;
  color: #4f5f7a;
}

/* GRID */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

/* ITEM */

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(0, 95, 168, 0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 95, 168, 0.06);
  transition: 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  font-weight: 600;
  color: #111827;
  line-height: 1.45;
}

.faq-question i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 95, 168, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: #ffffff;
}

/* ANSWER */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 1.4rem 1.4rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4f5f7a;
}

/* ACTIVE */

.faq-item.active .faq-answer {
  max-height: 220px;
}

/* -------------------- */
/* MOBILE */
/* -------------------- */

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
